package com.projectbox.dao;

import java.util.List;

import com.projectbox.model.User;

public interface UserDao {
	
	List<User> getUsers();
	
	User getUserByUserName(String username);
	
	User getUserById(Long id);
	
	boolean insert(User user);
	
	void update(User user);
	
	void setEnabled(Long id, boolean enabled);
	
	List<String> getAuthoritiesByUsername(String username);
	
}
